<?php

require_once ('iwc/interfaces/ICodeInterface.interface.php');
require_once ('iwc/interfaces/IWCDefaults.interface.php');

class Label implements ICodeInterface, IWCDefaults {
	
	private $style="";
	private $class="";
	/**
	 * @return unknown
	 */
	public function getClass() {
		return $this->class;
	}
	
	/**
	 * @return unknown
	 */
	public function getStyle() {
		return $this->style;
	}
	
	/**
	 * @param unknown_type $class
	 */
	public function setClass($class) {
		$this->class = $class;
	}
	
	/**
	 * @param unknown_type $style
	 */
	public function setStyle($style) {
		$this->style = $style;
	}

	
	private $text;
	/**
	 * @return unknown
	 */
	public function getText() {
		return $this->text;
	}
	
	/**
	 * @param unknown_type $text
	 */
	public function setText($text) {
		$this->text = $text;
	}

	
	public function icodeSet($prop, $value) {
	
	}
	
	public function icodeSupportedProperties() {
	
	}
	
	public function __toString() {
		return '<span style="'.$this->style.'" class="'.$this->class.'">'.$this->text.'</span>';
	}
}

?>
